package cn.zhc.com.event;

/**
 * Created by zhouhongchun on 2017/6/29.
 * 管理eventBus的所有事件:int, Object
 */

public class EventInfo<T>{
    private int mEventTypeWithInt = -1;
    private T mEventTypeWithObject = null;

    /**
     * 控制左侧抽屉的开关
     */
    public static int  eventDrawerControl = 0;


    private EventInfo(){
    }

    public EventInfo(int Type) {
        this.mEventTypeWithInt = Type;
    }
    public EventInfo(T object) {
        this.mEventTypeWithObject = object;
    }

    public int getEventTypeWithInt() {
        return this.mEventTypeWithInt;
    }

    public T getEventTypeWithObject() {
        return this.mEventTypeWithObject;
    }





}
